package com.boot.service.impl;

import com.boot.domain.*;
import com.boot.mapper.*;
import com.boot.service.FiveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FiveServiceImpl implements FiveService{


    @Autowired
   private MarketCapabilityMapper marketCapabilityMapper;

    @Autowired
    private ComplaintMapper complaintMapper;

    @Autowired
    private SupervisionLawMapper supervisionLawMapper;

    @Autowired
    private SupervisionLawZoneMapper supervisionLawZoneMapper;

    @Autowired
    private AcceptanceZoneMapper acceptanceZoneMapper;

    @Autowired
    private MoreAcceptanceMapper moreAcceptanceMapper;




    @Override
    public List<MarketCapability> getMarketCapabilitys() {
        return marketCapabilityMapper.selectAll();
    }

    @Override
    public List<Complaint> getComplaints() {
        return complaintMapper.selectAll();
    }

    @Override
    public List<SupervisionLaw> getSupervisionLaw() {
        return supervisionLawMapper.selectAll();
    }

    @Override
    public List<SupervisionLawZone> getSupervisionLawZones() {
        return supervisionLawZoneMapper.selectAll();
    }

    @Override
    public List<AcceptanceZone> getAcceptanceZones() {
        return acceptanceZoneMapper.selectAll();
    }

    @Override
    public List<MoreAcceptance> getMoreAcceptances() {
        return moreAcceptanceMapper.selectAll();
    }
}
